Incorrect syntax near 'Self'.
SELECT tx_outgoingDomain FROM d_domain301Redirects WHERE yn_activated = 1 AND Replace(Replace(tx_incomingDomain,'http://',''),'www.','') = 'mbi-staffing.co.uk/Javascript:shortlistVac(518,'Self Employed Mortgage Broker - Southampton')'